﻿using System;

namespace CobraCms.Core.Content.Attributes
{
    public class ContentNodeDefinitionAttribute : Attribute
    {            
        public string DefinitionId { get; set; }

        public bool RootNode { get; set; }

        public int MaxSiblingsOfSameClassAllowed { get; set; }

        public bool IsAbstract { get; set; }

        public string DisplayName { get; set; }     

        public Type[] AllowedChildren { get; set; }
    }
}
